package com.pinusmusic.domain;


/*
管理员实体类
 */

public class Admin {
    private Integer aid;//管理员编号
    private String adminname;//管理员登录名
    private String adminpassword;//管理员密码

    public Admin() {
    }

    public Admin(Integer aid, String adminname, String adminpassword) {
        this.aid = aid;
        this.adminname = adminname;
        this.adminpassword = adminpassword;
    }

    public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public String getAdminname() {
        return adminname;
    }

    public void setAdminname(String adminname) {
        this.adminname = adminname;
    }

    public String getAdminpassword() {
        return adminpassword;
    }

    public void setAdminpassword(String adminpassword) {
        this.adminpassword = adminpassword;
    }

    @Override
    public String toString() {
        return "Admin{" +
                "aid=" + aid +
                ", adminname='" + adminname + '\'' +
                ", adminpassword='" + adminpassword + '\'' +
                '}';
    }
}
